package com.library.service;

import com.library.pojo.Book;
import com.library.pojo.PageResult;

import java.util.List;

public interface BookService {
    PageResult pageQuery(Integer page,
                         Integer pageSize, String bookName,
                         String author, String publisher,String category);

    void add(Book book);

    void delete(List<Long> ids);

    Book getById(Long id);

    void update(Book book);
}
